package com.atguigu.gulimall.auth.fegin;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lk
 * @version 1.0.0
 * @Description SmsFeginService
 * @createTime 2024/1/24 18:39
 */
@FeignClient("gulimall-third-party")
public interface SmsFeginService {

    @GetMapping("/sms/send/code")
    public R sendCode(@RequestParam("phone")String phone, @RequestParam("code")String code);
}
